<!-- BEGIN SLIDEBAR -->
<div id="slidebar">
    <div id="menu">
        
        <?php if(is_admin()){ ?>
    	<div class="menu-item">
    		<h3 class="close"><img src="<?php echo base_url(); ?>assets/public/img/icon/m-close.png" alt="" />Hệ thống</h3>
    		<div class="menu-overflow">
    			<div class="menu-content">
    				<ul>
                                   <li><a href="<?php echo base_url(); ?>projects/"><img src="<?php echo base_url(); ?>assets/public/img/icon/projects.png" alt="" width="16" />Các dự án</a></li>
                                   <li><a href="<?php echo base_url(); ?>projects/index/add"><img src="<?php echo base_url(); ?>assets/public/img/icon/famfamfam/edit_add.png" alt="" width="16" />Thêm dự án</a></li>
    				   <li><a href="<?php echo base_url(); ?>resources"><img src="<?php echo base_url(); ?>assets/public/img/icon/famfamfam/server.png" alt="" />Quản lý tài nguyên</a></li>
                                   <li><a href="<?php echo base_url(); ?>materials"><img src="<?php echo base_url(); ?>assets/public/img/icon/material.png" alt="" width="16" />Quản lý nguyên liệu</a></li>
                                   <li><a href="<?php echo base_url(); ?>personnels/manager"><img src="<?php echo base_url(); ?>assets/public/img/icon/personnel.png" alt="" width="16" />Quản lý nhân sự</a></li>
                                   <li><a href="<?php echo base_url(); ?>calenders"><img src="<?php echo base_url(); ?>assets/public/img/icon/calender.png" alt="" width="16" />Quản lý lịch làm việc</a></li>
    				</ul>
    			</div><!-- end div .menu-content -->
    		</div><!-- end div .menu-overflow -->
    	</div><!-- end div .menu-item -->
        <?php } ?>
        <?php echo $sb;?>
    </div><!-- end div #menu -->
</div><!-- end div #slidebar -->
<!-- END SLIDEBAR -->